package com.power.mock.answerandcapture;

import com.bj58.sfft.utility.dao.basedao.DAOHelper;
import com.bj58.sfft.utility.dao.basedao.IDAO;
import com.google.inject.Singleton;
import com.power.mock.User;
import com.power.mock.dto.UserQueryDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * @author wangjianxin01
 */
@Singleton
public class UserDAO extends DBBaseDao {
    private Logger logger = LoggerFactory.getLogger(this.getClass());
    private static final DAOHelper daoHelper = DBBaseDao.wbestDBHelper;
    private static final IDAO dao = daoHelper.sql;


    public List<User> listUser(UserQueryDTO userQueryDTO) {
        logger.info("in method UerDAO.listUser(UserQueryDTO userQueryDTO), userQueryDTO = {}", userQueryDTO);
        throw new RuntimeException();
    }
}
